package com.ekingstar.framework.service;

import com.ekingstar.framework.domain.OnlineUser;
import com.ekingstar.framework.domain.User;
import com.ekingstar.framework.util.Page;

/**
 * 
 * @author GQ
 * 
 */
public interface IOnlineUserService {
	public void addUser(OnlineUser user);

	public boolean deleteUser(User user);

	public Page getOnlineUserPage(OnlineUser onlineuser, int pageNo,
			int pageSize);

	public boolean deleteAllData();

	public OnlineUser getUseIdBySessionId(String sessionId);

	public String getIpByCurrentUser(User user);
	
	public String getOnlineUserStr();
}
